package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("安全培训封装类")
data class SecurityAdvisorJobTrainVo(

        @ApiModelProperty("id")
        var id: String? = null,

        @ApiModelProperty("岗位id")
        var jobId: String? = null,

        @ApiModelProperty("岗位名称")
        var jobName: String? = null,

        @ApiModelProperty("培训类型 1.岗前 2.岗后")
        var jobType: Int? = null,

        @ApiModelProperty("培训开始时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var trainBeginTime: Date? = null,

        @ApiModelProperty("培训结束时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var trainEndTime: Date? = null,

        @ApiModelProperty("培训轮播图")
        var trainPicsList: List<String>? = null,

        @ApiModelProperty("培训轮播图第一张")
        var trainPicsFirst: String? = null,

        @ApiModelProperty("培训标题")
        var trainTitle: String? = null,

        @ApiModelProperty("企业id")
        var enterpriseId: String? = null,

        @ApiModelProperty("企业名称")
        var enterpriseUserName: String? = null
)